package com.zd.kiychen.service;

import bo.QueueUseObjet;
import dto.OrderDetailsDTO;
import org.springframework.amqp.core.Message;
import org.springframework.amqp.rabbit.annotation.RabbitListener;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @program: sporadic
 * @description:
 * @author: LHD   QQ:1727865856
 * @create: 2019-11-23 09:46
 **/
@Service
public class RabbitMqLinstener {
//    /*测试监听队列消息是否收到*/
//    @RabbitListener(queues = "sporadic1")
//    public void receive(QueueUseObjet queueUseObjet){
//        System.out.println(queueUseObjet);
//    }
}
